<template>
  <ul>
      <li>消息id：{{$route.query.id}}</li>
      <li>消息title：{{$route.query.title}}</li>
  </ul>
</template>

<script>
export default {
    name:'Detail',
    mounted(){
        console.log(this.$route)
    }
}
</script>